package org.itboys.weixin.entity;

import org.mongodb.morphia.annotations.Entity;
import org.mongodb.morphia.annotations.NotSaved;

/**
 * 推送用的信息模板
 * @author weisky
 *
 * 2016年4月30日
 */
@Entity(value = "WeixinSendInfo", noClassnameStored = true)
public class WeixinSendInfo extends WeixinBaseEntity{

	private static final long serialVersionUID = 3175408998452998806L;
	
	private Long weixinId;//
	private String key;
	private String title;//标题
	private Integer type;
	private String value;//内容
	private String des;//备注
	
	@NotSaved
	private String weixinName;//所属微信的微信名称
	
	public String getKey() {
		return key;
	}
	public void setKey(String key) {
		this.key = key;
	}
	public String getDes() {
		return des;
	}
	public void setDes(String des) {
		this.des = des;
	}
	public String getWeixinName() {
		return weixinName;
	}
	public void setWeixinName(String weixinName) {
		this.weixinName = weixinName;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public Long getWeixinId() {
		return weixinId;
	}
	public void setWeixinId(Long weixinId) {
		this.weixinId = weixinId;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public String getValue() {
		return value;
	}
	public void setValue(String value) {
		this.value = value;
	}
	
}
